import { CustomError } from "./custom-error"

export class NotFoundError extends CustomError {
	statusCode = 404;
	constructor(){
		super("找不到页面");
		Object.setPrototypeOf(this, NotFoundError.prototype);	
	}
	serializeErrors(){
		return [{message: "找不到页面"}]
	}
}
